package main

import (
	"fmt"
)

func main(){


	citys:=make(map[string]string )

	citys["no1"]="china"
	citys["no2"]="american"

	for k,v:=range citys{
		fmt.Println(k,v)
	}

	stu:=make(map[string]map[string]string)

	stu["stu1"]=make(map[string]string)
	stu["stu1"]["name"]="tom"
	stu["stu1"]["age"]="100"

	stu["stu2"]=make(map[string]string)
	stu["stu2"]["name"]="tony"
	stu["stu2"]["age"]="200"

	for k1,v2:=range stu{
		fmt.Println(k1)
		for k2,v2:=range v2{

			fmt.Println(k2,v2)
		}
		fmt.Println()
	}
}